﻿using UnityEngine;
using System.Collections;

public class SsjjCallAndroid
{
	static AndroidJavaObject SsjjAndroidClass;

	public static void Init (params string[] key)
	{


		SsjjAndroidClass = new AndroidJavaObject ("com.tj.SsjjPay");
		Debug.Log ("YXC" + "  4399 Call Android Init");
		SsjjAndroidClass.Call ("Init", key [0], key [1]);
	}


	public static void Pay (string moneyAmount, string productName)
	{
		Debug.Log ("YXC" + "  4399 Call Android Pay  ");
		SsjjAndroidClass.Call ("Pay", moneyAmount, productName);
	}
}
